package com.clkj.zhonghui.pojo.stored;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-11 11:13:59
 * 存储金额表
 */
@ApiModel( value ="t_zh_stored" )
@Table( name ="t_zh_stored" )
public class Stored  implements Serializable {

    @Id
   	@Column(name = "stored_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer storedId;

	/**
	 * 存储金额
	 */
   	@Column(name = "stored_money" )
	@ApiModelProperty( value="存储金额")
	private Double storedMoney;

	/**
	 * 给自己返利
	 */
   	@Column(name = "stored_mine" )
	@ApiModelProperty( value="给自己返利")
	private Double storedMine;

	/**
	 * 给上级返利
	 */
   	@Column(name = "stored_share" )
	@ApiModelProperty( value="给上级返利")
	private Double storedShare;

	/**
	 * 门店ID
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店ID")
	private Integer shopId;

    /**
     * 0为储值金  1为抽奖
     */
    @Column(name = "stored_flag" )
    @ApiModelProperty( value="0为储值金  1为抽奖")
    private Integer storedFlag;

  public Integer getStoredId() {
    return storedId;
  }

  public void setStoredId(Integer storedId) {
    this.storedId = storedId;
  }


  public Double getStoredMoney() {
    return storedMoney;
  }

  public void setStoredMoney(Double storedMoney) {
    this.storedMoney = storedMoney;
  }


  public Double getStoredMine() {
    return storedMine;
  }

  public void setStoredMine(Double storedMine) {
    this.storedMine = storedMine;
  }


  public Double getStoredShare() {
    return storedShare;
  }

  public void setStoredShare(Double storedShare) {
    this.storedShare = storedShare;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }

    public Integer getStoredFlag() {
        return storedFlag;
    }

    public void setStoredFlag(Integer storedFlag) {
        this.storedFlag = storedFlag;
    }
}
